import request from '@/utils/request'

// 获得热销产品数据
export function getPieData() {
    return request({
      url: '/order/pie',
      method: 'get'
    })
  }

  export function getBarData(query) {
    return request({
      url: '/order/bar',
      method: 'get',
      params: query
    })
  }